package SE2;

import static org.junit.Assert.*;

import java.util.Date;
import java.util.GregorianCalendar;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

//Max
public class ProductionReleaseTest
{

	ProductionRelease instance;
	@Before
	public void setUpEnvirnonment()
	{
		int id = 1;
		VehicleConfiguration vc = new VehicleConfiguration(
				"xxxy",
				"karosserie_Klein",
				"fw_Normal",
				"ia_Luxus",
				"keine extras",
				4);
		int amount = 30;
		
		GregorianCalendar beginning = new GregorianCalendar(2010,1,1);
		GregorianCalendar deadline = new GregorianCalendar(2010,11,11);
		GregorianCalendar deliveryDate = new GregorianCalendar(2010,12,12);
		
		instance = new ProductionRelease(vc, amount, beginning, deadline, deliveryDate);
	}
	
	@Test
	public void testCheckProductionRelease()
	{
		assertTrue(instance.checkProductionRelease());
	}

	@Test
	public void testCreateOrderingResult()
	{
		
	}

	@After
	public void shutDown()
	{
		
	}
}
